package com.woniuxy.commons.entity.purchaseManager;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @Author:黄志超
 * @Todo:TODO
 * @DateTime:2022/4/21 14:02
 * @Component:蜗牛
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("goods")
public class GoodsEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private int goodsId;
    @TableField("good_code")
    private String goodsCode;
    @TableField("good_name")
    private String goodsName;
    @TableField("supplier")
    private String supplier;
    @TableField("craft")
    private String craft;
    @TableField("specification")
    private String specification;
    @TableField("gram_start")
    private double gramStart;
    @TableField("gram_end")
    private double gramEnd;

}
